* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 26.66666vw;
}
body {
  font-size: 16px;
  height: 100vh;
}
ul {
  list-style: none;
}

a {
  text-decoration: none;
}
input {
  outline: none;
}
.container {
  height: 100vh;
  overflow: hide;
}


.myheader {
  background-color: #369;
  height: 0.45rem;
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  h1 {
    font-size: 0.16rem;
    color: #fff;
  }

  .add {
    font-size: 0.3rem;
    color: #fff;
    position: absolute;
    top: 50%;
    right: 0.1rem;
    transform: translate(0, -50%);
  }
  .searchInput {
    padding: 0.04rem;
    width: 100vw;
    top: 0.45rem;
    left: 0;
    position: absolute;
    height: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    input {
      height: 0.35rem;
      padding-left: 0.05rem;

      flex: 1;
    }
    button {
      margin-left: 0.05rem;
      width: 0.5rem;
      height: 0.3rem;
    }
  }
}

.contentmain::-webkit-scrollbar{
  display: none;
}
// .wrapper{
//   width: 100%;
//   white-space: nowrap; //让子元素超出不换行
//   // padding: 25px 13px;
//   overflow: hidden;
//   }

ul.contentmain {
  max-height: calc(100vh - 0.45rem);
  overflow: scroll;
  div.contentItem {
    height: 0.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.03rem;
    background-color: #f5f5f5;
    border-bottom: 0.005rem solid #ccc;
    padding: 0 0.1rem;
    .left {
        display: flex;
        justify-content: space-between;
        align-items: center;
      input {
        margin-right: 0.1rem;
        font-size: 0.16rem;
      }

      span {
          width: 1.7rem;
        display: block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 0.14rem;
        color: #555;
      }
    }

    div.btn-con {
      button {
        padding: 0.03rem 0.1rem;
        margin-right: 0.05rem;
        font-size: 0.14rem;
        color: #fff;
        border: none;
        &:nth-last-of-type(1) {
          margin: 0;
        }
      }
      button.primary {
        background-color: #5677b4;
      }

      button.warning {
        background-color: #ffff25;
      }

      button.danger {
        background-color: #ad2525d2;
      }
    }
  }
}

div.watchfun {
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0,0,0,.5);

  div.con {
    
    width: 60%;
    min-height:30%;
    border: 1px solid #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    padding-bottom: 10px;
    background-color: #fff;
    h2 {
      width: 100%;
      height: 45px;
      line-height: 45px;
      background-color: #369;
      color: #fff;
      font-size: 18px;
      text-align: center;
    }

    div {
      width: 96%;
      flex: 1;
      padding: 10px;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      textarea{
        width: 100%;
        border: 0.5px solid #ccc;
        outline: none;
        padding: 5px;
        font-size: 14px;
        color: #555;
        line-height: 25px;
      }
      p {
        line-height: 30px;
        font-size: 14px;
        color: #555;
        margin-bottom: 10px;
      }
    }

    button {
        width: 96%;
        height: 30px;
        background-color: #369;
        color: #fff;
        line-height: 30px;
        border: none;
    }
  }
}

.active{
  background-color: rgb(111, 170, 94) !important;
}
